public abstract class Animal {

    EatBehavior eatBehavior;
    MoveBehavior moveBehavior;

    public String name;

    public void performEat() {
        eatBehavior.eat();
    }

    public void performMove() {
        moveBehavior.move();
    }

    public abstract void display();

}
